Optimal. Leaf size=62 \[ \frac {2 \sqrt {c+d x}}{b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{b^{3/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.04, antiderivative size = 62, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {52, 65, 214}
\begin {gather*} \frac {2 \sqrt {c+d x}}{b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 214
Rubi steps
\begin {align*} \int \frac {\sqrt {c+d x}}{a+b x} \, dx &=\frac {2 \sqrt {c+d x}}{b}+\frac {(b c-a d) \int \frac {1}{(a+b x) \sqrt {c+d x}} \, dx}{b}\\ &=\frac {2 \sqrt {c+d x}}{b}+\frac {(2 (b c-a d)) \text {Subst}\left (\int \frac {1}{a-\frac {b c}{d}+\frac {b x^2}{d}} \, dx,x,\sqrt {c+d x}\right )}{b d}\\ &=\frac {2 \sqrt {c+d x}}{b}-\frac {2 \sqrt {b c-a d} \tanh ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {b c-a d}}\right )}{b^{3/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 62, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {c+d x}}{b}-\frac {2 \sqrt {-b c+a d} \tan ^{-1}\left (\frac {\sqrt {b} \sqrt {c+d x}}{\sqrt {-b c+a d}}\right )}{b^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.16, size = 61, normalized size = 0.98
method | result | size |
derivativedivides | \(\frac {2 \sqrt {d x +c}}{b}+\frac {2 \left (-a d +b c \right ) \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{b \sqrt {\left (a d -b c \right ) b}}\) | \(61\) |
default | \(\frac {2 \sqrt {d x +c}}{b}+\frac {2 \left (-a d +b c \right ) \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right )}{b \sqrt {\left (a d -b c \right ) b}}\) | \(61\) |
risch | \(\frac {2 \sqrt {d x +c}}{b}-\frac {2 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right ) a d}{b \sqrt {\left (a d -b c \right ) b}}+\frac {2 \arctan \left (\frac {b \sqrt {d x +c}}{\sqrt {\left (a d -b c \right ) b}}\right ) c}{\sqrt {\left (a d -b c \right ) b}}\) | \(92\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.94, size = 143, normalized size = 2.31 \begin {gather*} \left [\frac {\sqrt {\frac {b c - a d}{b}} \log \left (\frac {b d x + 2 \, b c - a d - 2 \, \sqrt {d x + c} b \sqrt {\frac {b c - a d}{b}}}{b x + a}\right ) + 2 \, \sqrt {d x + c}}{b}, -\frac {2 \, {\left (\sqrt {-\frac {b c - a d}{b}} \arctan \left (-\frac {\sqrt {d x + c} b \sqrt {-\frac {b c - a d}{b}}}{b c - a d}\right ) - \sqrt {d x + c}\right )}}{b}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 1.88, size = 61, normalized size = 0.98 \begin {gather*} \frac {2 \left (\frac {d \sqrt {c + d x}}{b} - \frac {d \left (a d - b c\right ) \operatorname {atan}{\left (\frac {\sqrt {c + d x}}{\sqrt {\frac {a d - b c}{b}}} \right )}}{b^{2} \sqrt {\frac {a d - b c}{b}}}\right )}{d} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.31, size = 62, normalized size = 1.00 \begin {gather*} \frac {2 \, {\left (b c - a d\right )} \arctan \left (\frac {\sqrt {d x + c} b}{\sqrt {-b^{2} c + a b d}}\right )}{\sqrt {-b^{2} c + a b d} b} + \frac {2 \, \sqrt {d x + c}}{b} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.07, size = 50, normalized size = 0.81 \begin {gather*} \frac {2\,\sqrt {c+d\,x}}{b}-\frac {2\,\mathrm {atan}\left (\frac {\sqrt {b}\,\sqrt {c+d\,x}}{\sqrt {a\,d-b\,c}}\right )\,\sqrt {a\,d-b\,c}}{b^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________